﻿/******************************************************************
** 文件名:T106_GoodClassStockProperty.cs
** Copyright (c) 
** 创建人:佟礼
** 日 期:2012-07-10 17:45:45
** 描 述:
********************************************************************/
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using Enter.BizLogic.Base;
using Enter.DataProxy.Mail;
using Enter.Entity;
using Enter.Common;
namespace Enter.BizLogic
{
    public class T106_GoodClassStockPropertyBLLSub : T106_GoodClassStockPropertyBLLBase
    {
         /// <summary>
        /// 获取库存属性
        /// </summary>
        /// <param name="cateNo"></param>
        /// <returns></returns>
        public List<T106_GoodClassStockPropertyEntity> GetStockProperty(string cateNo)
        {
            string key = "StockProperty" + cateNo;
            List<T106_GoodClassStockPropertyEntity> list = (List<T106_GoodClassStockPropertyEntity>)CacheHelper.Get(key);
            if (list == null)
            {
                list = (List<T106_GoodClassStockPropertyEntity>)Manager.GetStockProperty(cateNo);
                CacheHelper.Set(key, list);
            }
            return list;
        }
    }
}
